home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / ada_met1.zip / PARSE_2A.ADS < prev    next >
Text File  |  1990-06-21  |  3KB  |  61 lines

  1. --***************************************************************--
  2. --                                                               --
  3. --  TITLE:          AN ADA SOFTWARE METRIC                       --
  4. --                                                               --   
  5. --  MODULE NAME:    PACKAGE SPECIFICATION PARSE_2A               --
  6. --  FILE NAME:      PARSE_2A.ADS                                 --
  7. --                                                               --
  8. --  LAST MODIFIED:  24 APR 89                                    --
  9. --                                                               --
  10. --  DESCRIPTION:  This package contains thirty-three functions   --
  11. --       that are the middle level productions for our top-down, --
  12. --       recursive descent parser.  Each function is preceded    --
  13. --       by the grammar productions they are implementing.       --
  14. --                                                               --  
  15. --  CHANGE LOG:                                                  --
  16. --              - added the check for a semicolon in function    --
  17. --                RECORD_REPRESENTATION_CLAUSE (bug fix).        --
  18. --                                                               --  
  19. --  COPYRIGHT:  The Ada source code in this file is Copyright    --
  20. --              1990 by Source Translation & Optimization. There --
  21. --              are no restrictions to the use of this source    --
  22. --              code in any product or system that is released   --
  23. --              in non-source code form. Resale of this source   --
  24. --              code, without permission of STO, is a violation  --
  25. --              of our Copyright.                                --
  26. --                                                               --
  27. --                                                               --
  28. --  HELP:       For more information contact: Gregory Aharonian  --
  29. --              Source Translation & Optimization, P.O. Box 404  --
  30. --              Belmont, MA, 02178-0404            617-489-3727  --
  31. --***************************************************************--
  32.  
  33. package PARSER_2 is
  34.  
  35.   function GENERIC_ACTUAL_PART        return boolean;
  36.   function GENERIC_TYPE_DEFINITION    return boolean;
  37.   function PRIVATE_TYPE_DECLARATION   return boolean;
  38.   function TYPE_DECLARATION           return boolean;
  39.   function SUBTYPE_DECLARATION        return boolean;
  40.   function DISCRIMINANT_PART          return boolean;
  41.   function WITH_OR_USE_CLAUSE         return boolean;
  42.   function FORMAL_PART                return boolean;
  43.   function IDENTIFIER_DECLARATION     return boolean;
  44.   function EXCEPTION_CHOICE           return boolean;
  45.   function IDENTIFIER_LIST            return boolean;
  46.   function MODE                       return boolean;
  47.   function DESIGNATOR                 return boolean;
  48.   function SIMPLE_STATEMENT           return boolean;
  49.   function LABEL                      return boolean;
  50.   function ENTRY_DECLARATION          return boolean;
  51.   function REPRESENTATION_CLAUSE      return boolean;
  52.  
  53. --
  54. -- The following procedures are declared locally in the package body
  55. --
  56. --    function DISCRIMINANT_SPECIFICATION     return boolean;
  57. --    function PARAMETER_SPECIFICATION        return boolean;
  58.  
  59.  
  60. end PARSER_2;
  61.